package com.chhh.cranelease.service;

import com.chhh.cranelease.entity.CarInfo;
import com.chhh.cranelease.entity.CraneBrand;
import com.chhh.cranelease.entity.Staff;
import com.chhh.cranelease.model.CarInfoDriver;
import com.chhh.cranelease.model.DriverInfoModel;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface BaseInfoService {


    List<CarInfoDriver> selectAll(String c_num, String c_people);

    void insertNewCar(CarInfo carInfo);

    void updateThisCar(CarInfo carInfo);

    void deleteThisCar(Integer[] c_id);

    List<DriverInfoModel> selectAllDriver(String s_card, String s_name, String s_sex, String sName, String s_intime, String s_outtime);

    Integer insertNewDriver(Staff staff);

    Integer updateThisDriver(Staff staff);

    // 图片信息
    String selectStyle(String model_id);


    Integer insertStyle(MultipartFile images, Integer model_id, String description);

    List<CraneBrand> getImage();


    CraneBrand getImages(Integer model_id);
}
